package kr.saeildamil.androidStudy_second.multimedia;

import kr.saeildamil.androidStudy_second.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch33Main extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch33_main);
	}

	public void mOnClick(View v) {
		Intent intent = new Intent();
		switch (v.getId()) {
		case R.id.ch33_multi_btn01:
			intent.setClass(this, MPTest.class);
			break;
		case R.id.ch33_multi_btn02:
			intent.setClass(this, PlayAudio.class);
			break;
		case R.id.ch33_multi_btn03:
			intent.setClass(this, SoundPoolTest.class);
			break;
		case R.id.ch33_multi_btn04:
			intent.setClass(this, ChangeVolume.class);
			break;
		case R.id.ch33_multi_btn05:
			intent.setClass(this, PlayVideo.class);
			break;
		case R.id.ch33_multi_btn06:
			intent.setClass(this, VideoViewer.class);
			break;
		case R.id.ch33_multi_btn07:
			intent.setClass(this, DumpMedia.class);
			break;
		case R.id.ch33_multi_btn08:
			intent.setClass(this, ImageViewer.class);
			break;
		case R.id.ch33_multi_btn09:
			intent.setClass(this, CameraTest.class);
			break;
		case R.id.ch33_multi_btn10:
			intent.setClass(this, AttachImage.class);
			break;

		}
		startActivity(intent);
	}

}
